package org.wxd.media.domain;

import java.io.InputStream;
import java.util.Optional;

/**
 * Created by wangxd on 2016/11/1.
 */
public interface MediaOperations {


    Media store(InputStream stream, Media media);

    Optional<Media> ofCheckSum(String checkSum);
}
